package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.controller.util.Data;
import com.example.domain.PhoneDto;
import com.example.domain.User;

import javax.servlet.http.HttpSession;


public interface IUserService extends IService<User> {
    public User getOne(String name);
//    分页查询内容
    public IPage<User> getPageUser(Integer page, Integer size);
//    新增查询用户用的
    public User getUser(String name);

    Data login(PhoneDto phoneDto, HttpSession session);
}
